package it.win4buy.util;

import java.util.Calendar;

public class Logger {

	public static final void log(String s) {

		Calendar c = Calendar.getInstance();
		System.out.println("[" + c.get(Calendar.YEAR) + "-"
				+ (c.get(Calendar.MONTH) + 1) + c.get(Calendar.DAY_OF_MONTH)
				+ " " + c.get(Calendar.HOUR) + ":" + c.get(Calendar.MINUTE)
				+ ":" + c.get(Calendar.SECOND) + "."
				+ c.get(Calendar.MILLISECOND) + "] " + s);

	}
}
